package com.neusoft.liduan.d0922;

public class ThreadFirst extends Thread{
	private int n;
	
	public ThreadFirst(int n) {
		this.n = n;
	}
	
	@Override
	public void run() {
		for(int i = 0; i < 100; i++) {
			if(i % 2 == n) {
				System.out.println(currentThread() + ":::" + i);
			}
		}
	}
}
